package com.shengdai.urms.core.model;

import java.util.Calendar;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 */
@XmlRootElement(name="UmOrg")
public class UmOrg implements java.io.Serializable {
	/**
	 *
	 */
	private static final long	serialVersionUID	= 30019016L;

	private String				orgid;								// 组织ID

	private String				orgname;							// 组织名称

	private String				leaf;								// 叶子节点

	private String				shortname;							// 组织简称

	private String				parentid;							// 父ID

	private String				memo;								// 备注

	private String				orgtype;							// 组织类型

	private String				sapid;								// SAPID

	private String				orgcode;							// 组织代码

	private Integer				orglevel;							// 组织层级

	private Float				showorder;							// 显示顺序

	private Calendar			createdate;						// 创建日期

	private String				parentids;							// 全部父ID

	private String				parentnames;						// 全部父名称

	private String				parenttypes;						// 全部父组织类型

	private String				leader;							// 领导人

	private String				principal;							// 负责人

	private String				orgattribute;						// 组织属性

	private String				reforgid;							// 关联组织id

	private String				secretary;							// 秘书

	private String				incomeman;							// 收发员

	@XmlElement(name="SECRETARY")
	public String getSecretary() {
		return secretary;
	}

	public void setSecretary(String secretary) {
		this.secretary = secretary;
	}

	@XmlElement(name="REFORGID")
	public String getReforgid() {
		return reforgid;
	}

	public void setReforgid(String reforgid) {
		this.reforgid = reforgid;
	}

	@XmlElement(name="LEADER")
	public String getLeader() {
		return leader;
	}

	public void setLeader(String leader) {
		this.leader = leader;
	}

	@XmlElement(name="ORGID")
	public String getOrgid() {
		return orgid;
	}

	public void setOrgid(String orgid) {
		this.orgid = orgid;
	}

	@XmlElement(name="ORGNAME")
	public String getOrgname() {
		return orgname;
	}

	public void setOrgname(String orgname) {
		this.orgname = orgname;
	}

	@XmlElement(name="SHORTNAME")
	public String getShortname() {
		return shortname;
	}

	public void setShortname(String shortname) {
		this.shortname = shortname;
	}

	@XmlElement(name="PARENTID")
	public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	@XmlElement(name="MEMO")
	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@XmlElement(name="ORGTYPE")
	public String getOrgtype() {
		return orgtype;
	}

	public void setOrgtype(String orgtype) {
		this.orgtype = orgtype;
	}

	@XmlElement(name="SAPID")
	public String getSapid() {
		return sapid;
	}

	public void setSapid(String sapid) {
		this.sapid = sapid;
	}

	@XmlElement(name="ORGCODE")
	public String getOrgcode() {
		return orgcode;
	}

	public void setOrgcode(String orgcode) {
		this.orgcode = orgcode;
	}

	@XmlElement(name="ORGLEVEL")
	public Integer getOrglevel() {
		return orglevel;
	}

	public void setOrglevel(Integer orglevel) {
		this.orglevel = orglevel;
	}

	@XmlElement(name="SHOWORDER")
	public Float getShoworder() {
		return showorder;
	}

	public void setShoworder(Float showorder) {
		this.showorder = showorder;
	}

	@XmlElement(name="PARENTIDS")
	public String getParentids() {
		return parentids;
	}

	public void setParentids(String parentids) {
		this.parentids = parentids;
	}

	@XmlElement(name="PARENTNAMES")
	public String getParentnames() {
		return parentnames;
	}

	public void setParentnames(String parentnames) {
		this.parentnames = parentnames;
	}

	@XmlElement(name="LEAF")
	public String getLeaf() {
		return leaf;
	}

	public void setLeaf(String leaf) {
		this.leaf = leaf;
	}

	@XmlElement(name="PRINCIPAL")
	public String getPrincipal() {
		return principal;
	}

	public void setPrincipal(String principal) {
		this.principal = principal;
	}

	@XmlElement(name="ORGATTRIBUTE")
	public String getOrgattribute() {
		return orgattribute;
	}

	public void setOrgattribute(String orgattribute) {
		this.orgattribute = orgattribute;
	}

	@XmlElement(name="PARENTTYPES")
	public String getParenttypes() {
		return parenttypes;
	}

	public void setParenttypes(String parenttypes) {
		this.parenttypes = parenttypes;
	}

	public void setCreatedate(Calendar createdate) {
		this.createdate = createdate;
	}

	@XmlElement(name="CREATEDATE")
	public Calendar getCreatedate() {
		return createdate;
	}

	@XmlElement(name="INCOMEMAN")
	public String getIncomeman() {
		return incomeman;
	}

	public void setIncomeman(String incomeman) {
		this.incomeman = incomeman;
	}

}
